﻿using System;
using Iesi.Collections.Generic;

namespace Family.Core.Model
{
    public class Order : EntityWithTypeId<Int32>
    {
        public virtual DateTime Date { get; set; }

        public virtual ISet<OrderItem> OrderItems { get; protected set; }

        public Order()
        {
            OrderItems = new HashedSet<OrderItem>();
        }
    }
}
